package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.collection.request.CollectionSearchRequest;
import com.fram.bean.api.collection.response.CollectionSearchResponse;
import com.fram.entity.UserCollection;

public interface UserCollectionMapper {
	int deleteByPrimaryKey(Long id);

	int insert(UserCollection record);

	int insertSelective(UserCollection record);

	UserCollection selectByPrimaryKey(Long id);

	int updateByPrimaryKeySelective(UserCollection record);

	int updateByPrimaryKey(UserCollection record);

	/** 查询基本信息 **/
	UserCollection selectBasic(UserCollection request);

	/** 删除收藏 **/
	int delete(UserCollection request);

	/** 搜藏列表 **/
	List<CollectionSearchResponse> list(CollectionSearchRequest request);
}